package com.huynhchihieu.dao;

import java.util.List;

import com.huynhchihieu.domain.Book;

public interface BookDAO {
	Book findById(int id);
	List<Book> getAll();
	public void upDate(Book book);
	List<Book> getAllBooks();
	Book addBook(Book book);
	void updateBook(Book book);
	Book finByName(String bookName);
	void delete(Book book);
	List<Book> finByNames(String bookName);
}
